package test.com.sinosoft.taxbenefit.core.applicant;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import com.sinosoft.platform.base.TaxBaseTest;
import com.sinosoft.taxbenefit.core.generated.model.TaxContPolicyDuty;
import com.sinosoft.taxbenefit.core.policy.biz.service.PolicyService;

public class DAOTEst extends TaxBaseTest{

	@Autowired
	PolicyService policyService;
	@Test
	public void addApplyPerson(){
//		TaxContApplyPerson singlePolicyHolder=new TaxContApplyPerson();
//		
//		singlePolicyHolder.setCardNo("123132");
//		policyService.addPolicyHolder(singlePolicyHolder);
		
		TaxContPolicyDuty duty =new TaxContPolicyDuty();
		
		duty.setCreatorId(1);
		
		policyService.addLiability(duty);
		
	}
}
